package com.bdqn.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 类名 Book
 * 描述 TODO
 * 日期 2022/2/15 8:51
 * 创建人 by xfq
 * 项目名称 springbootbook
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Book {
    private Integer bno;
    private String title;
    private String author;
    private String pshouse;
    private Integer ISBN;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date psbirthday;
    private Integer inventory;
    private Double price;
}
